<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<TITLE>Untitled Page</TITLE>
		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
		<link href="../css/public.css" rel="stylesheet" style="text/css">
	</HEAD>
	<BODY
		style="BACKGROUND-POSITION-Y: -120px; BACKGROUND-IMAGE: url(../images/background.gif); BACKGROUND-REPEAT: repeat-x">
		<SCRIPT type=text/javascript>
			function doPostBack() {
				document.enterprise.submit();
			}
			function turnpage(){
			var curPage=document.getElementById("page").value;
			if(isNaN(curPage)){
			window.location.href="order_findOrderListAll.action?pb.pageNo="+1;
			}
			else{
			
			window.location.href="order_findOrderListAll.action?pb.pageNo="+curPage;
			}
		}
	</SCRIPT>
		<SCRIPT src="EmployeeMgr.files/WebResource.axd" type=text/javascript></SCRIPT>
		<SCRIPT src="EmployeeMgr.files/ScriptResource.axd"
			type=text/javascript></SCRIPT>
		<SCRIPT src="/EmployeeMgr.files/ScriptResource(1).axd"
			type=text/javascript></SCRIPT>
		<DIV>
			<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%"
				border=0>
				<TBODY>
					<TR
						style="BACKGROUND-IMAGE: url(../images/bg_header.gif); BACKGROUND-REPEAT: repeat-x"
						height=47>
						<TD width=10>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
						</TD>
						<TD>
							<SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hl2.gif); WIDTH: 15px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px">
							</SPAN>
							<SPAN
								style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hb.gif); PADDING-BOTTOM: 10px; COLOR: white; PADDING-TOP: 10px; BACKGROUND-REPEAT: repeat-x; HEIGHT: 47px; TEXT-ALIGN: center; 0 px: ">
								<a href="order_findOrderAll.action">返回</a> </SPAN><SPAN
								style="FLOAT: left; BACKGROUND-IMAGE: url(../images/main_hr.gif); WIDTH: 60px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 47px"></SPAN>
						</TD>
						<TD
							style="BACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(../images/main_rc.gif)"
							width=10></TD>
					</TR>
					<TR>
						<TD style="BACKGROUND-IMAGE: url(../images/main_ls.gif)">
							&nbsp;
						</TD>
						<TD
							style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; COLOR: #566984; PADDING-TOP: 10px; BACKGROUND-COLOR: white"
							vAlign=top align=center>
							<DIV>

									<TABLE class=gridView id=ctl00_ContentPlaceHolder2_GridView1
										style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing=0
										rules=all border=1 align="left">
									<form action="order_findOrderListAll.action" method="post" style="float: left" >
									<input type="hidden" name="orderId" value="<s:property value="orderId"/>" />
									 商品编号：<input type="text" name="orderlist.commodity.sn"/>
									 商品名称：<input type="text" name="orderlist.commodity.name"/>
									 商品规格：<input type="text" name="orderlist.commodity.specifications"/>
									 <input type="submit" value="查询">
									</form>
										<TBODY>
											<TR>
												<TH class=gridViewHeader scope=col>
													订单编号
												</TH>

												<TH class=gridViewHeader scope=col>
													商品名称
												</TH>
												<TH class=gridViewHeader scope=col>
													商品规格
												</TH>
												<TH class=gridViewHeader scope=col>
													商品数量
												</TH>

												<TH class=gridViewHeader scope=col>
													商品价格
												</TH>

												<TH class=gridViewHeader scope=col>
													生产厂家
												</TH>
												<TH class=gridViewHeader scope=col>
													订货人
												</TH>
												<TH class=gridViewHeader scope=col>
													备注
												</TH>
											</TR>
											<s:iterator value="pb.list">
											<tr>
												<TD class=gridViewItem>
													<s:property value="sn" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="commnodity.name" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="commodity.specifications" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="number" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="commodity.supplyprice" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="commodity.factory" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="order.user.name" />
												</TD>
												<TD class=gridViewItem>
													<s:property value="remarks" />
												</TD>
											</tr>
											</s:iterator>
										</TBODY>
										 <TR>
									    <TD colspan="23" align="right" class=gridViewHeader>
									    	总共有<s:property value="pb.totalitem"/>条记录
									    	每页<s:property value="pb.pagesize"/>条记录
									    	当前为第<s:property value="pb.pageon"/>页/
									    	总共有<s:property value="pb.totalpage"/>页
									    	<a class="a_a" href="order_findOrderListAll.action?pb.pageon=1">第一页</a>
									    	<a class="a_a" href="order_findOrderListAll.action?pb.pageon=<s:property value="pb.prep"/>">上一页</a>
									    	<a class="a_a" href="order_findOrderListAll.action?pb.pageon=<s:property value="pb.nextp"/>">下一页</a>
									    	<a class="a_a" href="order_findOrderListAll.action?pb.pageon=<s:property value="pb.totalpage"/>">最后一页</a>
									    	转到第<input type="text" id="page" size="1"/>页<input type="submit" value="Go" onclick="javascript:turnpage();"/>
									   </TD>
								    </TR>	
									</TABLE>
							</DIV>
						</TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rs.gif)"></TD>
					</TR>
					<TR
						style="BACKGROUND-IMAGE: url(../images/main_fs.gif); BACKGROUND-REPEAT: repeat-x"
						height=10>
						<TD style="BACKGROUND-IMAGE: url(../images/main_lf.gif)"></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_fs.gif)"><br></TD>
						<TD style="BACKGROUND-IMAGE: url(../images/main_rf.gif)">
							<br>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
		</DIV>
		<SCRIPT type=text/javascript>
	//         
	Sys.Application.initialize();
	//
</SCRIPT>
	</BODY>
</HTML>
